<!--- Show message box telling the user what is going on --->
<AMMESSAGEBOX WINDOWTITLE="Sample Task" BUTTONS="ok_cancel" ICON="information" ONSECONDBUTTONCLICK="stop">This is a sample task that says the time out loud using AutoMate's built-in support for speech synthesis.
If you are using Windows 2000 or XP it should run fine - if you are running an older operating system - you may need to download SAPI from microsoft.com to get it to work.
This is a great task to schedule every hour or so which will in essence cause it to act as a "talking clock".
Remember you can always stop a task in progress by pressing CTRL-ALT-END. Press okay to continue running the task or Cancel to stop now.</AMMESSAGEBOX>
<!--- Say the time --->
<AMSPEAK ENGINE="automatic">The time is %Format(Time(),"h:mm am/pm")%</AMSPEAK>